home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp - 2D perspective warp
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- ilWarp
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilCdefs.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class manages a 2D perspective warp. The virtual methods inherited
- from ilWarp can be used for evaluation, inversion, composition, and so
- forth. An ilPerspWarp object can be precisely composed with another
- ilPerspWarp object and also with an ilAffineWarp object. A new
- ilPerspWarp object is usually specified using the infer method of ilWarp
- that processes a set of tie points to compute the warp parameters. The
- minimum number of tie points required to uniquely specify a perspective
- warp is 4. That is, a perspective warp is equivalent to a coordinate
- mapping between two quadralaterals. If only 3 points are passed to the
- infer method, then the perspective warp imitates the affine warp
- specified by those 3 tie points. The coefficients of the perspective
- warp are stored in a 3x3 array of floats, a[3][3]. The warp is defined
- in terms of these coefficients as:
-
- x = (a[0][0]*u + a[1][0]*v + a[2][0]) / den
- y = (a[0][1]*u + a[1][1]*v + a[2][1]) / den
- where
- den = a[0][2]*u + a[1][2]*v + a[2][2]
-
-
- It is also possible to specify the perspective warp by explicitly setting
- the warp coefficients using the various iiiinnnniiiitttt() methods.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
- ilPerspWarp* ilPerspWarpCreate()
- ilPerspWarp* ilPerspWarpPersp(const ilPerspWarp* other)
- ilPerspWarp* ilPerspWarpAffine(const ilAffineWarp* other)
-
- GGGGeeeetttt////sssseeeetttt mmmmeeeetttthhhhooooddddssss
-
- void ilPerspWarpInit(ilPerspWarp *obj, const ilPerspWarp* other)
- void ilPerspWarpInitAffine(ilPerspWarp *obj, const ilAffineWarp* other)
- void ilPerspWarpInitCoeff(ilPerspWarp *obj, const float* c)
- const float* ilPerspWarpGetCoeff(ilPerspWarp *obj)
- void ilPerspWarpTranslate(ilPerspWarp* obj, float dx, float dy)
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp((((3333))))
-
-
-
- FUNCTION DESCRIPTIONS
- iiiillllPPPPeeeerrrrssssppppWWWWaaaarrrrpppp(((())))
-
- ilPerspWarp* ilPerspWarpCreate()
- ilPerspWarp* ilPerspWarpAffine(const ilAffineWarp* other)
- ilPerspWarp* ilPerspWarpPersp(const ilPerspWarp* other)
-
-
- Construct a new instance of a perspective warp object. The null
- constructor creates an uninitialized instance. The other
- constructors copy existing perspective warp and affine warp objects.
-
- ggggeeeettttCCCCooooeeeeffffffff(((())))
-
- const float* ilPerspWarpGetCoeff(ilPerspWarp *obj)
-
-
- Access the perspective warp coefficient matrix.
-
- iiiinnnniiiitttt(((())))
-
- void ilPerspWarpInitCoeff(ilPerspWarp *obj, const float* c)
- void ilPerspWarpInitAffine(ilPerspWarp *obj, const ilAffineWarp* other)
- void init(const ilPerspCoeff& c)
- void ilPerspWarpInit(ilPerspWarp *obj, const ilPerspWarp* other)
-
-
- Initialize the perspective warp.
-
- ttttrrrraaaannnnssssllllaaaatttteeee(((())))
-
- void ilPerspWarpTranslate(ilPerspWarp* obj, float dx, float dy)
-
-
- Apply a translation of (_d_x, _d_y) the this warp.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllWWWWaaaarrrrpppp
- ilWarpCompose(), ilWarpCopy(), ilWarpDx(), ilWarpDy(), ilWarpDz(),
- ilWarpEval3D(), ilWarpEval(), ilWarpEvalVector(), ilWarpFindRoot(),
- ilWarpGetBBox2D(), ilWarpGetBBox(), ilWarpIdentity(), ilWarpInfer(),
- ilWarpInvert(), ilWarpMinimumNumberOfTies(), ilWarpX(), ilWarpY(),
- ilWarpZ()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllWWWWaaaattttcccchhhheeeeddddOOOObbbbjjjjeeeecccctttt
- addWatchCallback(), doWatchCallbacks(), removeWatchCallback()
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO iiiillllWWWWaaaarrrrpppp,,,, iiiillllAAAAffffffffiiiinnnneeeeWWWWaaaarrrrpppp,,,, iiiillllTTTTiiiieeeeWWWWaaaarrrrppppIIIImmmmgggg,,,, iiiillllWWWWaaaarrrrppppIIIImmmmgggg
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
-